package com.adtech.adms.device.pojo;

/**
 * GuiRuleitem entity. @author MyEclipse Persistence Tools
 */

public class GuiRuleitem implements java.io.Serializable {

	// Fields

	private Integer id;
	private GuiRule guiRule;
	private Long ipFrom;
	private Long ipTo;
	private String comment;
	private String action;

	// Constructors

	/** default constructor */
	public GuiRuleitem() {
	}

	/** minimal constructor */
	public GuiRuleitem(GuiRule guiRule, Long ipFrom, Long ipTo, String action) {
		this.guiRule = guiRule;
		this.ipFrom = ipFrom;
		this.ipTo = ipTo;
		this.action = action;
	}

	/** full constructor */
	public GuiRuleitem(GuiRule guiRule, Long ipFrom, Long ipTo, String comment,
			String action) {
		this.guiRule = guiRule;
		this.ipFrom = ipFrom;
		this.ipTo = ipTo;
		this.comment = comment;
		this.action = action;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public GuiRule getGuiRule() {
		return this.guiRule;
	}

	public void setGuiRule(GuiRule guiRule) {
		this.guiRule = guiRule;
	}

	public Long getIpFrom() {
		return this.ipFrom;
	}

	public void setIpFrom(Long ipFrom) {
		this.ipFrom = ipFrom;
	}

	public Long getIpTo() {
		return this.ipTo;
	}

	public void setIpTo(Long ipTo) {
		this.ipTo = ipTo;
	}

	public String getComment() {
		return this.comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public String getAction() {
		return this.action;
	}

	public void setAction(String action) {
		this.action = action;
	}

}